import request from '@/utils/request'

export function createTag(data) {
    return request({
        url: '/tag/create',
        method: 'post',
        data
    })
}

export function getTagList(data) {
    return request({
        url: '/tag/getTagsList',
        method: 'post',
        data
    })
}

export function getAllTag(data) {
    return request({
        url: '/tag/getTagsList',
        method: 'post',
        data
    })
}

export function setStatus(data) {
    return request({
        url: '/tag/setStatus',
        method: 'post',
        data
    })
}

export function deleteTag(data) {
    return request({
        url: '/tag/delete',
        method: 'post',
        data
    })
}

export function updateTag(data) {
    return request({
        url: '/tag/update',
        method: 'post',
        data
    })
}
